[INFO] crate color 0.0.1 is already in cache
[INFO] building color-0.0.1 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate color 0.0.1 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate color 0.0.1 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate color 0.0.1
[INFO] finished tweaking crates.io crate color 0.0.1
[INFO] tweaked toml for crates.io crate color 0.0.1 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5ff2d838df743c8f448e6e097a66955d30a55c901754e0db6417ccf08ee6afea
[INFO] running `Command { std: "docker" "start" "-a" "5ff2d838df743c8f448e6e097a66955d30a55c901754e0db6417ccf08ee6afea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ff2d838df743c8f448e6e097a66955d30a55c901754e0db6417ccf08ee6afea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ff2d838df743c8f448e6e097a66955d30a55c901754e0db6417ccf08ee6afea", kill_on_drop: false }`
[INFO] [stdout] 5ff2d838df743c8f448e6e097a66955d30a55c901754e0db6417ccf08ee6afea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b2f3f98a2e0cd64a4b9b4bd9d359b40c7ed36a842076190ea1b9624dcdd35cd3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b2f3f98a2e0cd64a4b9b4bd9d359b40c7ed36a842076190ea1b9624dcdd35cd3", kill_on_drop: false }`
[INFO] [stderr]    Compiling color v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,`
[INFO] [stdout]   --> src/lib.rs:61:30
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub trait Color3<T>: Color<T> {
[INFO] [stdout]    |                               - while parsing this item list starting here
[INFO] [stdout] 61 |     fn into_fixed(self) -> [T, ..3];
[INFO] [stdout]    |                              ^ expected one of 7 possible tokens
[INFO] [stdout] 62 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,`
[INFO] [stdout]   --> src/lib.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub trait Color4<T>: Color<T> {
[INFO] [stdout]    |                               - while parsing this item list starting here
[INFO] [stdout] 65 |     fn into_fixed(self) -> [T, ..4];
[INFO] [stdout]    |                              ^ expected one of 7 possible tokens
[INFO] [stdout] 66 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,`
[INFO] [stdout]   --> src/alpha.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl<T: Channel, C: Color3<T>> Color4<T> for AlphaColor<T, C> {
[INFO] [stdout]    |                                                               - while parsing this item list starting here
[INFO] [stdout] 57 |     fn into_fixed(self) -> [T, ..4] {
[INFO] [stdout]    |                              ^ expected one of 7 possible tokens
[INFO] [stdout] ...
[INFO] [stdout] 64 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `<` is interpreted as a start of generic arguments for `u16`, not a shift
[INFO] [stdout]   --> src/channel.rs:73:61
[INFO] [stdout]    |
[INFO] [stdout] 73 |     #[inline] fn to_channel_u16(self) -> u16 { (self as u16 << 8) | self as u16 }
[INFO] [stdout]    |                                                 ----------- ^^ - interpreted as generic arguments
[INFO] [stdout]    |                                                 |           |
[INFO] [stdout]    |                                                 |           not interpreted as shift
[INFO] [stdout]    |                                                 help: try shifting the cast value: `(self as u16)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,`
[INFO] [stdout]   --> src/hsv.rs:73:30
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl<T: FloatChannel> Color3<T> for Hsv<T> {
[INFO] [stdout]    |                                            - while parsing this item list starting here
[INFO] [stdout] 73 |     fn into_fixed(self) -> [T, ..3] {
[INFO] [stdout]    |                              ^ expected one of 7 possible tokens
[INFO] [stdout] ...
[INFO] [stdout] 78 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,`
[INFO] [stdout]   --> src/rgb.rs:73:30
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl<T: Channel> Color3<T> for Rgb<T> {
[INFO] [stdout]    |                                       - while parsing this item list starting here
[INFO] [stdout] 73 |     fn into_fixed(self) -> [T, ..3] {
[INFO] [stdout]    |                              ^ expected one of 7 possible tokens
[INFO] [stdout] ...
[INFO] [stdout] 78 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::num::One`, `std::num::Zero`
[INFO] [stdout]   --> src/lib.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 | use std::num::{One, Zero};
[INFO] [stdout]    |                ^^^  ^^^^ no `Zero` in `num`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `One` in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::Primitive`
[INFO] [stdout]   --> src/channel.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::num::{Float, Primitive};
[INFO] [stdout]    |                ^^^^^  ^^^^^^^^^ no `Primitive` in `num`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `Float` in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `comment` in this scope
[INFO] [stdout]   --> src/lib.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | #![comment = "A library that provides types and conversions for working with
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `license` in this scope
[INFO] [stdout]   --> src/lib.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | #![license = "ASL2"]
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/alpha.rs:19:3
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[deriving(Clone, PartialEq, Eq, Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/hsv.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[deriving(Clone, PartialEq, Eq, Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/rgb.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[deriving(Clone, PartialEq, Eq, Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/srgb.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[deriving(Clone, PartialEq, Eq, Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/ycbcr.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[deriving(Clone, PartialEq, Eq, Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `std::num`
[INFO] [stdout]   --> src/channel.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn cast<T: std::num::NumCast, U: std::num::NumCast>(n: T) -> U {
[INFO] [stdout]    |                      ^^^^^^^ not found in `std::num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `std::num`
[INFO] [stdout]   --> src/channel.rs:21:44
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn cast<T: std::num::NumCast, U: std::num::NumCast>(n: T) -> U {
[INFO] [stdout]    |                                            ^^^^^^^ not found in `std::num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `cast` in module `std::num`
[INFO] [stdout]   --> src/channel.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 |     std::num::cast(n).unwrap()
[INFO] [stdout]    |               ^^^^ not found in `std::num`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 18 | use hsv::cast;
[INFO] [stdout]    |
[INFO] [stdout] 18 | use rgb::cast;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `num`
[INFO] [stdout]   --> src/hsv.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn cast<T: num::NumCast, U: num::NumCast>(n: T) -> U {
[INFO] [stdout]    |                 ^^^^^^^ not found in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `num`
[INFO] [stdout]   --> src/hsv.rs:22:34
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn cast<T: num::NumCast, U: num::NumCast>(n: T) -> U {
[INFO] [stdout]    |                                  ^^^^^^^ not found in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `cast` in module `num`
[INFO] [stdout]   --> src/hsv.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |     num::cast(n).unwrap()
[INFO] [stdout]    |          ^^^^ not found in `num`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 16 | use channel::cast;
[INFO] [stdout]    |
[INFO] [stdout] 16 | use rgb::cast;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `num`
[INFO] [stdout]   --> src/rgb.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn cast<T: num::NumCast, U: num::NumCast>(n: T) -> U {
[INFO] [stdout]    |                 ^^^^^^^ not found in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `num`
[INFO] [stdout]   --> src/rgb.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn cast<T: num::NumCast, U: num::NumCast>(n: T) -> U {
[INFO] [stdout]    |                                  ^^^^^^^ not found in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `cast` in module `num`
[INFO] [stdout]   --> src/rgb.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 |     num::cast(n).unwrap()
[INFO] [stdout]    |          ^^^^ not found in `num`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 16 | use channel::cast;
[INFO] [stdout]    |
[INFO] [stdout] 16 | use hsv::cast;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `color`
[INFO] [stdout] error: aborting due to 24 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432.
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b2f3f98a2e0cd64a4b9b4bd9d359b40c7ed36a842076190ea1b9624dcdd35cd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2f3f98a2e0cd64a4b9b4bd9d359b40c7ed36a842076190ea1b9624dcdd35cd3", kill_on_drop: false }`
[INFO] [stdout] b2f3f98a2e0cd64a4b9b4bd9d359b40c7ed36a842076190ea1b9624dcdd35cd3
